package com.guo.hui.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.guo.hui.model.shiro.TpPermission;
import com.guo.hui.page.PageParam;

public interface PermissionService {
	
	public void savePermission(TpPermission tp);
	
	public void updatePermission(TpPermission tp);
	
	public List<TpPermission> selectByMap(Map<String, Object> map);
	
	public void saveRolePermis(Integer roleid, Integer[] ids);
	
	PageInfo<TpPermission> selectByMapPage(PageParam pageParm);

}
